package com.hxzy.controller.admin.category.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @author admin
 */
@Getter
@Setter
@ApiModel(value = "新增商品分类")
public class CategoryClassAddReq {

    /**
     * 类别名称
     */
    @NotBlank(message = "类别名称不能为空")
    @ApiModelProperty(value = "类别名称")
    private String name;

    /**
     * 分类图片
     */
    @ApiModelProperty(value = "分类图片")
    private String picture;
}
